﻿using MediatR;
using Traceability.App.ErrorCount;

namespace Traceability.App.Api.Application.Command.Basic
{
    public class UpdateBasicCommand : IRequest<ApiResult<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Company { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string Picture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Completeness { get; set; }

        public string Updator { get; set; } = string.Empty;
        public DateTime? UpdatorDate { get; set; }
    }
}
